package ltd.newbee.mall.order.mapper;

import ltd.newbee.mall.order.entity.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderItemMapper {
    int batchInsert(@Param("items") List<OrderItem> items);
    List<OrderItem> findByOrderNo(@Param("orderNo") String orderNo);
}


